#include "bsp_config.h"
#include <stdio.h>
#include <rtthread.h>
#include "drv_uart.h"

#define DBG_ENABLE
#define DBG_TAG               "MAIN"
#define DBG_LVL               DBG_LOG
// #define DBG_LVL               DBG_INFO
#include <rtdbg.h>

/**
 * @brief Assert failed function by user.
 * @param file The name of the call that failed.
 * @param line The source line number of the call that failed.
 */
#ifdef USE_FULL_ASSERT
void assert_failed(const uint8_t* expr, const uint8_t* file, uint32_t line)
{
    while (1)
    {
    }
}
#endif // USE_FULL_ASSERT

int main(void)
{
  LOG_I("APP version: V%d.%d", APP_VERSION_MAJOR, APP_VERSION_MINOR);
  LOG_I("Build date:%s %s",__DATE__, __TIME__);
	
	LOG_I("hello world!");
	while(1)
	{
		rt_thread_mdelay(1000);
	}
}
